#include "widget.h"
#include <QFile>
#include <QMessageBox>
#include <QApplication>
#include"bluetooth.h"
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Widget w;
    if (!QFile::exists("/dev/video2")) {

     }

    w.show();
    return a.exec();
}
